package com.device.operating.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="department")
public class Department implements Serializable{

	@Id
	private String departmentId;
	private String dpname;
	private String dptel;
	private String parentId;
	private String leaderId;
	private String leadername;
	private int dplevel;
	private String dploc;
	private String rootdpId;
	private String rootdpname;
	
	public String getRootdpId() {
		return rootdpId;
	}
	public void setRootdpId(String rootdpId) {
		this.rootdpId = rootdpId;
	}
	public String getRootdpname() {
		return rootdpname;
	}
	public void setRootdpname(String rootdpname) {
		this.rootdpname = rootdpname;
	}
	public String getDploc() {
		return dploc;
	}
	public void setDploc(String dploc) {
		this.dploc = dploc;
	}
	public String getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	public String getDpname() {
		return dpname;
	}
	public void setDpname(String dpname) {
		this.dpname = dpname;
	}
	public String getDptel() {
		return dptel;
	}
	public void setDptel(String dptel) {
		this.dptel = dptel;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getLeaderId() {
		return leaderId;
	}
	public void setLeaderId(String leaderId) {
		this.leaderId = leaderId;
	}
	public String getLeadername() {
		return leadername;
	}
	public void setLeadername(String leadername) {
		this.leadername = leadername;
	}
	public int getDplevel() {
		return dplevel;
	}
	public void setDplevel(int dplevel) {
		this.dplevel = dplevel;
	}
}
